<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Dashboard">
    <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">

    <title>有间工作室 - 后台</title>

    <!-- Bootstrap core CSS -->
    <link href="/static/admin/assets/css/bootstrap.css" rel="stylesheet">
    <!--external css-->
    <link href="/static/admin/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="/static/admin/assets/css/zabuto_calendar.css">
    <link rel="stylesheet" type="text/css" href="/static/admin/assets/js/gritter/css/jquery.gritter.css" />
    <link rel="stylesheet" type="text/css" href="/static/admin/assets/lineicons/style.css">

    <!-- Custom styles for this template -->
    <link href="/static/admin/assets/css/style.css" rel="stylesheet">
    <link href="/static/admin/assets/css/style-responsive.css" rel="stylesheet">

    <script src="/static/admin/assets/js/chart-master/Chart.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body>

    <section id="container">
        <!-- **********************************************************************************************************************************************************
      TOP BAR CONTENT & NOTIFICATIONS
      *********************************************************************************************************************************************************** -->
        <!--header start-->
        <header class="header black-bg">
            <div class="sidebar-toggle-box">
                <div class="fa fa-bars tooltips" data-placement="right" data-original-title="Toggle Navigation"></div>
            </div>
            <!--logo start-->
            <a href="{{ url_for('admin_blue.index') }}" class="logo"><b> 有 间 工 作 室 </b></a>
            <!--logo end-->
            <div class="nav notify-row" id="top_menu">
                <!--  notification start -->
{#                <ul class="nav top-menu">#}
{#                    <!-- settings start -->#}
{#                    <li class="dropdown">#}
{#                        <a data-toggle="dropdown" class="dropdown-toggle" href="/templates/admin/index.html#">#}
{#                            <i class="fa fa-tasks"></i>#}
{#                            <span class="badge bg-theme">4</span>#}
{#                        </a>#}
{#                        <ul class="dropdown-menu extended tasks-bar">#}
{#                            <div class="notify-arrow notify-arrow-green"></div>#}
{#                            <li>#}
{#                                <p class="green">You have 4 pending tasks</p>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/templates/admin/index.html#">#}
{#                                    <div class="task-info">#}
{#                                        <div class="desc">DashGum Admin Panel</div>#}
{#                                        <div class="percent">40%</div>#}
{#                                    </div>#}
{#                                    <div class="progress progress-striped">#}
{#                                        <div class="progress-bar progress-bar-success" role="progressbar"#}
{#                                            aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">#}
{#                                            <span class="sr-only">40% Complete (success)</span>#}
{#                                        </div>#}
{#                                    </div>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/templates/admin/index.html#">#}
{#                                    <div class="task-info">#}
{#                                        <div class="desc">Database Update</div>#}
{#                                        <div class="percent">60%</div>#}
{#                                    </div>#}
{#                                    <div class="progress progress-striped">#}
{#                                        <div class="progress-bar progress-bar-warning" role="progressbar"#}
{#                                            aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">#}
{#                                            <span class="sr-only">60% Complete (warning)</span>#}
{#                                        </div>#}
{#                                    </div>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/templates/admin/index.html#">#}
{#                                    <div class="task-info">#}
{#                                        <div class="desc">Product Development</div>#}
{#                                        <div class="percent">80%</div>#}
{#                                    </div>#}
{#                                    <div class="progress progress-striped">#}
{#                                        <div class="progress-bar progress-bar-info" role="progressbar"#}
{#                                            aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">#}
{#                                            <span class="sr-only">80% Complete</span>#}
{#                                        </div>#}
{#                                    </div>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/templates/admin/index.html#">#}
{#                                    <div class="task-info">#}
{#                                        <div class="desc">Payments Sent</div>#}
{#                                        <div class="percent">70%</div>#}
{#                                    </div>#}
{#                                    <div class="progress progress-striped">#}
{#                                        <div class="progress-bar progress-bar-danger" role="progressbar"#}
{#                                            aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 70%">#}
{#                                            <span class="sr-only">70% Complete (Important)</span>#}
{#                                        </div>#}
{#                                    </div>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li class="external">#}
{#                                <a href="#">See All Tasks</a>#}
{#                            </li>#}
{#                        </ul>#}
{#                    </li>#}
{#                    <!-- settings end -->#}
{#                    <!-- inbox dropdown start-->#}
{#                    <li id="header_inbox_bar" class="dropdown">#}
{#                        <a data-toggle="dropdown" class="dropdown-toggle" href="/templates/admin/index.html#">#}
{#                            <i class="fa fa-envelope-o"></i>#}
{#                            <span class="badge bg-theme">5</span>#}
{#                        </a>#}
{#                        <ul class="dropdown-menu extended inbox">#}
{#                            <div class="notify-arrow notify-arrow-green"></div>#}
{#                            <li>#}
{#                                <p class="green">You have 5 new messages</p>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/templates/admin/index.html#">#}
{#                                    <span class="photo"><img alt="avatar" src="/static/admin/assets/img/ui-zac.jpg"></span>#}
{#                                    <span class="subject">#}
{#                                        <span class="from">Zac Snider</span>#}
{#                                        <span class="time">Just now</span>#}
{#                                    </span>#}
{#                                    <span class="message">#}
{#                                        Hi mate, how is everything?#}
{#                                    </span>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/templates/admin/index.html#">#}
{#                                    <span class="photo"><img alt="avatar" src="/static/admin/assets/img/ui-divya.jpg"></span>#}
{#                                    <span class="subject">#}
{#                                        <span class="from">Divya Manian</span>#}
{#                                        <span class="time">40 mins.</span>#}
{#                                    </span>#}
{#                                    <span class="message">#}
{#                                        Hi, I need your help with this.#}
{#                                    </span>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/templates/admin/index.html#">#}
{#                                    <span class="photo"><img alt="avatar" src="/static/admin/assets/img/ui-danro.jpg"></span>#}
{#                                    <span class="subject">#}
{#                                        <span class="from">Dan Rogers</span>#}
{#                                        <span class="time">2 hrs.</span>#}
{#                                    </span>#}
{#                                    <span class="message">#}
{#                                        Love your new Dashboard.#}
{#                                    </span>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/templates/admin/index.html#">#}
{#                                    <span class="photo"><img alt="avatar" src="/static/admin/assets/img/ui-sherman.jpg"></span>#}
{#                                    <span class="subject">#}
{#                                        <span class="from">Dj Sherman</span>#}
{#                                        <span class="time">4 hrs.</span>#}
{#                                    </span>#}
{#                                    <span class="message">#}
{#                                        Please, answer asap.#}
{#                                    </span>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="/templates/admin/index.html#">See all messages</a>#}
{#                            </li>#}
{#                        </ul>#}
{#                    </li>#}
{#                    <!-- inbox dropdown end -->#}
{#                </ul>#}
                <!--  notification end -->
            </div>
            <div class="top-menu">
            	<ul class="nav pull-right top-menu">
                    <li><a class="logout" href="{{ url_for('index_blue.index') }}">返回前台</a></li>
            	</ul>
            </div>
        </header>
        <!--header end-->

        <!-- **********************************************************************************************************************************************************
      MAIN SIDEBAR MENU
      *********************************************************************************************************************************************************** -->
        <!--sidebar start-->
        <aside>
            <div id="sidebar" class="nav-collapse ">
                <!-- sidebar menu start-->
                <ul class="sidebar-menu" id="nav-accordion">

                    <p class="centered"><a href="#">
                        {% if user.avatar_url %}
                        <img src="{{ user.avatar_url }}" class="img-circle" width="60" height="60"></a>
                        {% else %}
                        <img src="/static/_files/ui-sam.jpg" class="img-circle" width="60" height="60"></a>
                        {% endif %}
                    </p>
                    <h5 class="centered" style="color:red;">{{ user.nick_name }}  管理员</h5>

                    <!-- <li class="mt">
                        <a class="active" href="{{ url_for('.index') }}">
                            <i class="fa fa-dashboard"></i>
                            <span>用户数据中心</span>
                        </a>
                    </li> -->

                    <li class="sub-menu">
                        <a href="javascript:;">
                            <i class="fa fa-desktop"></i>
                            <span >资源数据中心</span>
                        </a>
                        <ul class="sub">
                            <li><a href="{{ url_for('.resource') }}">资源分享</a></li>
                            <li><a href="{{ url_for('.technology') }}">技术教程</a></li>
                            <li><a href="{{ url_for('.resource_vip') }}">VIP资源</a></li>
                            <li><a href="{{ url_for('.hardware') }}">硬件相关</a></li>
                            <li><a href="{{ url_for('.hot_spot') }}">热点资讯</a></li>
                        </ul>
                    </li>
                    <li class="sub-menu">
                        <a href="javascript:;">
                            <i class="fa fa-cogs"></i>
                            <span>用户数据中心</span>
                        </a>
                        <ul class="sub">
                            <li><a href="{{ url_for('.pt_user_list')}}">普通用户</a></li>
                            <li><a href="{{ url_for('.vip_user_list')}}">VIP用户</a></li>
                        </ul>
                    </li>
                    <li class="sub-menu">
                        <a href="{{ url_for('.orders') }}">
                            <i class="fa fa-building"></i>
                            <span>商品订单数据</span>
                        </a>
                    </li>
                </ul>
                <!-- sidebar menu end-->
            </div>
        </aside>
        <!--sidebar end-->
        <div class="copyrights">Collect from <a href="http://www.cssmoban.com/"></a></div>

        <!-- **********************************************************************************************************************************************************
      MAIN CONTENT
      *********************************************************************************************************************************************************** -->
        <!--main content start-->
        <section id="main-content">
            <section class="wrapper">

                <div class="row">


                    <div class="col-lg-9 main-chart">

                    <div class="row mt">
                        <!--CUSTOM CHART START -->
                        <div class="border-head">
                            <h3>VISITS</h3>
                        </div>
                        <div class="custom-bar-chart">
                            <ul class="y-axis">
                                <li><span>100</span></li>
                                <li><span>80</span></li>
                                <li><span>60</span></li>
                                <li><span>40</span></li>
                                <li><span>20</span></li>
                                <li><span>0</span></li>
                            </ul>
                            {% for data in data_dict %}
                            <div class="bar">
                                <div class="title">{{ data }}</div>
                                <div class="value tooltips" data-original-title="{{ data_dict[data] + 66 }}" data-toggle="tooltip"
                                    data-placement="top">{{ data_dict[data] + 66 }}%</div>
                            </div>
                            {% endfor %}

                        </div>
                        <!--custom chart end-->
                    </div><!-- /row -->

{#                    <div class="row mt">#}
{#                        <!-- SERVER STATUS PANELS -->#}
{#                        <div class="col-md-4 col-sm-4 mb">#}
{#                            <div class="white-panel pn donut-chart">#}
{#                                <div class="white-header">#}
{#                                    <h5>SERVER LOAD</h5>#}
{#                                </div>#}
{#                                <div class="row">#}
{#                                    <div class="col-sm-6 col-xs-6 goleft">#}
{#                                        <p><i class="fa fa-database"></i> 70%</p>#}
{#                                    </div>#}
{#                                </div>#}
{#                                <canvas id="serverstatus01" height="120" width="120"></canvas>#}
{#                                <script>#}
{#                                    var doughnutData = [#}
{#                                        {#}
{#                                            value: 70,#}
{#                                            color: "#68dff0"#}
{#                                        },#}
{#                                        {#}
{#                                            value: 30,#}
{#                                            color: "#fdfdfd"#}
{#                                        }#}
{#                                    ];#}
{#                                    var myDoughnut = new Chart(document.getElementById("serverstatus01").getContext("2d")).Doughnut(doughnutData);#}
{#                                </script>#}
{#                            </div>#}
{#                            <! --/grey-panel -->#}
{#                        </div><!-- /col-md-4-->#}
{##}
{##}
{#                        <div class="col-md-4 col-sm-4 mb">#}
{#                            <div class="white-panel pn">#}
{#                                <div class="white-header">#}
{#                                    <h5>TOP PRODUCT</h5>#}
{#                                </div>#}
{#                                <div class="row">#}
{#                                    <div class="col-sm-6 col-xs-6 goleft">#}
{#                                        <p><i class="fa fa-heart"></i> 122</p>#}
{#                                    </div>#}
{#                                    <div class="col-sm-6 col-xs-6"></div>#}
{#                                </div>#}
{#                                <div class="centered">#}
{#                                    <img src="/static/admin/assets/img/product.png" width="120">#}
{#                                </div>#}
{#                            </div>#}
{#                        </div><!-- /col-md-4 -->#}
{##}
{#                        <div class="col-md-4 mb">#}
{#                            <!-- WHITE PANEL - TOP USER -->#}
{#                            <div class="white-panel pn">#}
{#                                <div class="white-header">#}
{#                                    <h5>TOP USER</h5>#}
{#                                </div>#}
{#                                <p><img src="/static/admin/assets/img/ui-zac.jpg" class="img-circle" width="80"></p>#}
{#                                <p><b>Zac Snider</b></p>#}
{#                                <div class="row">#}
{#                                    <div class="col-md-6">#}
{#                                        <p class="small mt">MEMBER SINCE</p>#}
{#                                        <p>2012</p>#}
{#                                    </div>#}
{#                                    <div class="col-md-6">#}
{#                                        <p class="small mt">TOTAL SPEND</p>#}
{#                                        <p>$ 47,60</p>#}
{#                                    </div>#}
{#                                </div>#}
{#                            </div>#}
{#                        </div><!-- /col-md-4 -->#}
{##}
{##}
{#                    </div><!-- /row -->#}


{#                    <div class="row">#}
{#                        <!-- TWITTER PANEL -->#}
{#                        <div class="col-md-4 mb">#}
{#                            <div class="darkblue-panel pn">#}
{#                                <div class="darkblue-header">#}
{#                                    <h5>DROPBOX STATICS</h5>#}
{#                                </div>#}
{#                                <canvas id="serverstatus02" height="120" width="120"></canvas>#}
{#                                <script>#}
{#                                    var doughnutData = [#}
{#                                        {#}
{#                                            value: 60,#}
{#                                            color: "#68dff0"#}
{#                                        },#}
{#                                        {#}
{#                                            value: 40,#}
{#                                            color: "#444c57"#}
{#                                        }#}
{#                                    ];#}
{#                                    var myDoughnut = new Chart(document.getElementById("serverstatus02").getContext("2d")).Doughnut(doughnutData);#}
{#                                </script>#}
{#                                <p>April 17, 2014</p>#}
{#                                <footer>#}
{#                                    <div class="pull-left">#}
{#                                        <h5><i class="fa fa-hdd-o"></i> 17 GB</h5>#}
{#                                    </div>#}
{#                                    <div class="pull-right">#}
{#                                        <h5>60% Used</h5>#}
{#                                    </div>#}
{#                                </footer>#}
{#                            </div>#}
{#                            <! -- /darkblue panel -->#}
{#                        </div><!-- /col-md-4 -->#}
{##}
{##}
{#                        <div class="col-md-4 mb">#}
{#                            <!-- INSTAGRAM PANEL -->#}
{#                            <div class="instagram-panel pn">#}
{#                                <i class="fa fa-instagram fa-4x"></i>#}
{#                                <p>@THISISYOU<br />#}
{#                                    5 min. ago#}
{#                                </p>#}
{#                                <p><i class="fa fa-comment"></i> 18 | <i class="fa fa-heart"></i> 49</p>#}
{#                            </div>#}
{#                        </div><!-- /col-md-4 -->#}
{##}
{#                        <div class="col-md-4 col-sm-4 mb">#}
{#                            <!-- REVENUE PANEL -->#}
{#                            <div class="darkblue-panel pn">#}
{#                                <div class="darkblue-header">#}
{#                                    <h5>REVENUE</h5>#}
{#                                </div>#}
{#                                <div class="chart mt">#}
{#                                    <div class="sparkline" data-type="line" data-resize="true" data-height="75"#}
{#                                        data-width="90%" data-line-width="1" data-line-color="#fff"#}
{#                                        data-spot-color="#fff" data-fill-color="" data-highlight-line-color="#fff"#}
{#                                        data-spot-radius="4" data-data="[200,135,667,333,526,996,564,123,890,464,655]">#}
{#                                    </div>#}
{#                                </div>#}
{#                                <p class="mt"><b>$ 17,980</b><br />Month Income</p>#}
{#                            </div>#}
{#                        </div><!-- /col-md-4 -->#}
{##}
{#                    </div><!-- /row -->#}



                </div><!-- /col-lg-9 END SECTION MIDDLE -->


                <!-- **********************************************************************************************************************************************************
      RIGHT SIDEBAR CONTENT
      *********************************************************************************************************************************************************** -->

{#                <div class="col-lg-3 ds">#}
{#                    <!--COMPLETED ACTIONS DONUTS CHART-->#}
{#                    <h3>NOTIFICATIONS</h3>#}
{##}
{#                    <!-- First Action -->#}
{#                    <div class="desc">#}
{#                        <div class="thumb">#}
{#                            <span class="badge bg-theme"><i class="fa fa-clock-o"></i></span>#}
{#                        </div>#}
{#                        <div class="details">#}
{#                            <p>#}
{#                                <muted>2 Minutes Ago</muted><br />#}
{#                                <a href="#">James Brown</a> subscribed to your newsletter.<br />#}
{#                            </p>#}
{#                        </div>#}
{#                    </div>#}
{#                    <!-- Second Action -->#}
{#                    <div class="desc">#}
{#                        <div class="thumb">#}
{#                            <span class="badge bg-theme"><i class="fa fa-clock-o"></i></span>#}
{#                        </div>#}
{#                        <div class="details">#}
{#                            <p>#}
{#                                <muted>3 Hours Ago</muted><br />#}
{#                                <a href="#">Diana Kennedy</a> purchased a year subscription.<br />#}
{#                            </p>#}
{#                        </div>#}
{#                    </div>#}
{#                    <!-- Third Action -->#}
{#                    <div class="desc">#}
{#                        <div class="thumb">#}
{#                            <span class="badge bg-theme"><i class="fa fa-clock-o"></i></span>#}
{#                        </div>#}
{#                        <div class="details">#}
{#                            <p>#}
{#                                <muted>7 Hours Ago</muted><br />#}
{#                                <a href="#">Brandon Page</a> purchased a year subscription.<br />#}
{#                            </p>#}
{#                        </div>#}
{#                    </div>#}
{#                    <!-- Fourth Action -->#}
{#                    <div class="desc">#}
{#                        <div class="thumb">#}
{#                            <span class="badge bg-theme"><i class="fa fa-clock-o"></i></span>#}
{#                        </div>#}
{#                        <div class="details">#}
{#                            <p>#}
{#                                <muted>11 Hours Ago</muted><br />#}
{#                                <a href="#">Mark Twain</a> commented your post.<br />#}
{#                            </p>#}
{#                        </div>#}
{#                    </div>#}
{#                    <!-- Fifth Action -->#}
{#                    <div class="desc">#}
{#                        <div class="thumb">#}
{#                            <span class="badge bg-theme"><i class="fa fa-clock-o"></i></span>#}
{#                        </div>#}
{#                        <div class="details">#}
{#                            <p>#}
{#                                <muted>18 Hours Ago</muted><br />#}
{#                                <a href="#">Daniel Pratt</a> purchased a wallet in your store.<br />#}
{#                            </p>#}
{#                        </div>#}
{#                    </div>#}
{##}
{#                    <!-- USERS ONLINE SECTION -->#}
{#                    <h3>TEAM MEMBERS</h3>#}
{#                    <!-- First Member -->#}
{#                    <div class="desc">#}
{#                        <div class="thumb">#}
{#                            <img class="img-circle" src="/static/admin/assets/img/ui-divya.jpg" width="35px" height="35px" align="">#}
{#                        </div>#}
{#                        <div class="details">#}
{#                            <p><a href="#">DIVYA MANIAN</a><br />#}
{#                                <muted>Available</muted>#}
{#                            </p>#}
{#                        </div>#}
{#                    </div>#}
{#                    <!-- Second Member -->#}
{#                    <div class="desc">#}
{#                        <div class="thumb">#}
{#                            <img class="img-circle" src="/static/admin/assets/img/ui-sherman.jpg" width="35px" height="35px" align="">#}
{#                        </div>#}
{#                        <div class="details">#}
{#                            <p><a href="#">DJ SHERMAN</a><br />#}
{#                                <muted>I am Busy</muted>#}
{#                            </p>#}
{#                        </div>#}
{#                    </div>#}
{#                    <!-- Third Member -->#}
{#                    <div class="desc">#}
{#                        <div class="thumb">#}
{#                            <img class="img-circle" src="/static/admin/assets/img/ui-danro.jpg" width="35px" height="35px" align="">#}
{#                        </div>#}
{#                        <div class="details">#}
{#                            <p><a href="#">DAN ROGERS</a><br />#}
{#                                <muted>Available</muted>#}
{#                            </p>#}
{#                        </div>#}
{#                    </div>#}
{#                    <!-- Fourth Member -->#}
{#                    <div class="desc">#}
{#                        <div class="thumb">#}
{#                            <img class="img-circle" src="/static/admin/assets/img/ui-zac.jpg" width="35px" height="35px" align="">#}
{#                        </div>#}
{#                        <div class="details">#}
{#                            <p><a href="#">Zac Sniders</a><br />#}
{#                                <muted>Available</muted>#}
{#                            </p>#}
{#                        </div>#}
{#                    </div>#}
{#                    <!-- Fifth Member -->#}
{#                    <div class="desc">#}
{#                        <div class="thumb">#}
{#                            <img class="img-circle" src="/static/admin/assets/img/ui-sam.jpg" width="35px" height="35px" align="">#}
{#                        </div>#}
{#                        <div class="details">#}
{#                            <p><a href="#">Marcel Newman</a><br />#}
{#                                <muted>Available</muted>#}
{#                            </p>#}
{#                        </div>#}
{#                    </div>#}
{##}
{#                    <!-- CALENDAR-->#}
{#                    <div id="calendar" class="mb">#}
{#                        <div class="panel green-panel no-margin">#}
{#                            <div class="panel-body">#}
{#                                <div id="date-popover" class="popover top"#}
{#                                    style="cursor: pointer; disadding: block; margin-left: 33%; margin-top: -50px; width: 175px;">#}
{#                                    <div class="arrow"></div>#}
{#                                    <h3 class="popover-title" style="disadding: none;"></h3>#}
{#                                    <div id="date-popover-content" class="popover-content"></div>#}
{#                                </div>#}
{#                                <div id="my-calendar"></div>#}
{#                            </div>#}
{#                        </div>#}
{#                    </div><!-- / calendar -->#}
{##}
{#                </div><!-- /col-lg-3 -->#}
{#                </div>#}
                <! --/row -->
            </section>
        </section>

        <!--main content end-->
        <!--footer start-->
{#        <footer class="site-footer">#}
{#            <div class="text-center">#}
{#                2019 - Alvarez.is - More Templates <a href="http://www.cssmoban.com/" target="_blank"#}
{#                    title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板"#}
{#                    target="_blank">网页模板</a>#}
{#                <a href="/templates/admin/index.html#" class="go-top">#}
{#                    <i class="fa fa-angle-up"></i>#}
{#                </a>#}
{#            </div>#}
{#        </footer>#}
        <!--footer end-->
    </section>

    <!-- js placed at the end of the document so the pages load faster -->
    <script src="/static/admin/assets/js/jquery.js"></script>
    <script src="/static/admin/assets/js/jquery-1.8.3.min.js"></script>
    <script src="/static/admin/assets/js/bootstrap.min.js"></script>
    <script class="include" type="text/javascript" src="/static/admin/assets/js/jquery.dcjqaccordion.2.7.js"></script>
    <script src="/static/admin/assets/js/jquery.scrollTo.min.js"></script>
    <script src="/static/admin/assets/js/jquery.nicescroll.js" type="text/javascript"></script>
    <script src="/static/admin/assets/js/jquery.sparkline.js"></script>


    <!--common script for all pages-->
    <script src="/static/admin/assets/js/common-scripts.js"></script>

    <script type="text/javascript" src="/static/admin/assets/js/gritter/js/jquery.gritter.js"></script>
    <script type="text/javascript" src="/static/admin/assets/js/gritter-conf.js"></script>

    <!--script for this page-->
    <script src="/static/admin/assets/js/sparkline-chart.js"></script>
    <script src="/static/admin/assets/js/zabuto_calendar.js"></script>

    <script type="text/javascript">
        $(document).ready(function () {
            var unique_id = $.gritter.add({
                // (string | mandatory) the heading of the notification
                title: '  Welcome to 有间工作室-后台!',
                // (string | mandatory) the text inside the notification
                text: '你可以查看用户的信息和资源数据以及订单详情',
                // (string | optional) the image to display on the left
                {#image: '/static/admin/assets/img/ui-sam.jpg',#}
                // (bool | optional) if you want it to fade out on its own or just sit there
                sticky: true,
                // (int | optional) the time you want it to be alive for before fading out
                time: '',
                // (string | optional) the class name you want to apply to that specific message
                class_name: 'my-sticky-class'
            });

            return false;
        });
    </script>

    <script type="application/javascript">
        $(document).ready(function () {
            $("#date-popover").popover({ html: true, trigger: "manual" });
            $("#date-popover").hide();
            $("#date-popover").click(function (e) {
                $(this).hide();
            });

            $("#my-calendar").zabuto_calendar({
                action: function () {
                    return myDateFunction(this.id, false);
                },
                action_nav: function () {
                    return myNavFunction(this.id);
                },
                ajax: {
                    url: "show_data.php?action=1",
                    modal: true
                },
                legend: [
                    { type: "text", label: "Special event", badge: "00" },
                    { type: "block", label: "Regular event", }
                ]
            });
        });


        function myNavFunction(id) {
            $("#date-popover").hide();
            var nav = $("#" + id).data("navigation");
            var to = $("#" + id).data("to");
            console.log('nav ' + nav + ' to: ' + to.month + '/' + to.year);
        }
    </script>


</body>

</html>